package ch.bfh.abcmmh.view.fullview.scopepanel.arrow;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Panel;

import javax.swing.ImageIcon;
import javax.swing.JLabel;

import ch.bfh.abcmmh.view.GUIController;

public class AWTArrow extends Panel {

	private static final long serialVersionUID = 1L;

	public AWTArrow(GUIController guiController, ImageIcon imageIcon) {
		Dimension d = new Dimension(15,
				guiController.getFullStreetPanelHeight());
		this.setSize(d);
		this.setPreferredSize(d);
		this.setLayout(new BorderLayout());
		JLabel label = new JLabel(imageIcon);
		this.add(label, BorderLayout.CENTER);

	}
}
